package com.cn.tous.security.dtos;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;

/**
 * @author mengwei
 * @description User
 * @createDate 2025/7/26 14:13
 */
@Data
public class UserInfo {

    private Long id;


    private String username;


    private String password;

    private String nickname;

    private String email;

    private String phone;

    // 1:正常 0:禁用
    private Integer status = 1;

    private Set<String> roles;

    private String role;

    private LocalDateTime createTime;


    private LocalDateTime updateTime;

    private String sessionId;

    private Long expiredTime;
}
